Overview
This section describes the available REST endpoints for searching and looking up cooperative housing units (andelsboliger).
Searches return a list of results in JSON format, each containing a unique uuid.
This uuid can subsequently be used to retrieve the full summary information for the cooperative housing unit in XML format.
Endpoints
SoegningAdresse
Endpoint URL: andelsbolig/postnummervej
Method |
GET |
Description |
Search for cooperative housing units using address information (postal code and street name). Can be searched with or without floor and door/side. |
Input |
Query parameters:
|
Output |
JSON response containing a list of matching cooperative housing units (incl. |
Error handling |
Returns standard HTTP error codes for invalid input or lack of access. |
Interaction pattern |
Query response |
Example request:
GET /andelsbolig/postnummervej?postnummer=4000&vejnavn=Bj%C3%B8rneklovej&husnummer=2 HTTP/1.1
host: nc-dev-xml-api.tinglysning.dk
accept: */*
SoegningNavnFoedselsdato
Endpoint URL: andelsbolig/personnavn
Method |
GET |
Description |
Search for cooperative housing units using the debtor’s name and date of birth. |
Input |
Query parameters:
|
Output |
JSON response containing a list of matching cooperative housing units (incl. |
Error handling |
Returns standard HTTP error codes for invalid input or lack of access. |
Interaction pattern |
Query response |
Example request:
GET /andelsbolig/personnavn?navn=John%20Doe&fdato=01.01.1970 HTTP/1.1
SoegningKommunevej
Endpoint URL: andelsbolig/kommunevej
Method |
GET |
Description |
Search for cooperative housing units using municipality code and road code. Can be searched with or without floor and door/side. |
Input |
Query parameters:
|
Output |
JSON response containing a list of matching cooperative housing units (incl. |
Error handling |
Returns standard HTTP error codes for invalid input or lack of access. |
Interaction pattern |
Query response |
Example request:
GET /andelsbolig/kommunevej?kommunekode=265&vejkode=480&husnummer=2&etage=&sidedoer= HTTP/1.1
host: nc-dev-xml-api.tinglysning.dk
accept: */*
SoegningCvr
Endpoint URL: andelsbolig/virksomhed/{cvr}
Method |
GET |
Description |
Search for cooperative housing units using a CVR number (company registration number). |
Input |
Path parameter:
|
Output |
JSON response containing a list of matching cooperative housing units (incl. |
Error handling |
Returns standard HTTP error codes for invalid input or lack of access. |
Interaction pattern |
Query response |
Example request:
GET /andelsbolig/virksomhed/15231599 HTTP/1.1
host: nc-dev-xml-api.tinglysning.dk
accept: */*
OpslagUUID
Endpoint URL: andelsbolig/andelsbolig/{uuid}
Method |
GET |
Description |
Using a |
Input |
Path parameter:
Optional query parameters:
|
Output |
XML document of type The formatting of XHTML and TMV XHTML responses is not documented in detail and may change without notice. |
Error handling |
Returns standard HTTP error codes, if the cooperative housing unit is not found. |
Interaction pattern |
Query response |
Example request:
GET /andelsbolig/andelsbolig/76668740-6d7b-11df-be2b-0800200c9a67?xhtml=false&tmvxhtml=false HTTP/1.1
host: nc-dev-xml-api.tinglysning.dk
accept: */*